package ewelinkapi

import "gitee.com/libs_2/ewelinkapi/model"

type Option func(client *Client)

// 附加账号登录请求，可以在开启自动处理token时用来做自动登录
func WithAccount(req model.AccountLoginRequest) Option {
	return func(client *Client) {
		client.accountReq = req
	}
}
